package yedean.bean;

import lombok.ToString;

/**
 * UserService
 *
 * @author yedean
 * @date 2022/6/27
 */
@ToString
public class UserService {
    private String uId;
    
    private UserDao userDao;


    public UserService(String uId, UserDao userDao) {
        this.uId = uId;
        this.userDao = userDao;
    }

    public UserService() {
    }

    public String queryUserInfo() {
        return userDao.queryUserName(this.uId);
    }

  
}
